@import '/src/global.less';

.main {
  padding:20px;
  .shanxuan{
    width:206px;
    justify-content: space-around;
    display: flex;
    .shanxuanBtn{
      color: white;
      background:transparent;
      border: 1px solid #136bb6;
    }
    .shanxuanBtn:hover,.shanxuanBtn:active,.shanxuanBtn:visited,.btnSelected  {
      position: relative;
      color: #fff;
      background-color: #355fb8;
    }
  }
.tabletop{
  color:white;
  margin-bottom: 16px;
  justify-content: space-between;
}


.shebeiStateBtn{
  padding: 2px 6px;
  background-color: #40a9ff;
  font-size: 12px;
}

.shibtn{
  background-color: #396cc4;
  cursor: pointer;
  width: 140px;
  padding: 5px 20px;
      margin: 10px 0 20px;
}
.loucengWR,.reltimeiitem{
  padding: 5px 0  5px 8px;
}
.loucengWL{
  padding: 5px 8px 5px 0;
 
}
.reltimeiitemCard{

  height: 100%;
}

.louceng{
  background:#0092ff;
   padding: 8px 0;
   text-align: center;
   cursor: pointer;
}
.lcActive,.louceng:hover{
  background: #40a9ff;
 
}


.leftContainer{
  padding: 20px;
}
.dashedLine{
  border-color: #355fb8;
  border-width: 2px 0 0;
}
.RTL{

  align-items: center;
  display: flex;
  justify-content: space-between;
  .title{
    font-size: 20px;
    font-weight: 600;
  }
  :global {
    .ant-badge-status-dot{
        width: 12px;
        height: 12px
      }
    }
}
.RTL span:not(:first-child){
  margin-left: 16px;
}

.pagination{
  justify-content: flex-end;
  margin: 16px 0;
}

.normal{
  background-color:@normalColor
}
.offLine{
  background-color:@offLineColor
}
.onLine{
  background-color:@onLineColor
}
.warn{
  background-color:@alarmColor
}
.alarm{
  background-color:@faultColor
}

@normalColor:#5dbef6;
@offLineColor:#ccc;
@offLineColor1:#f26665;
@onLineColor:#0bb7b4;
//报警
@alarmColor:#f2b566;
//故障
@faultColor:#fd6863;


.radioitem{
  background-color: #396cc4;
  margin-right: 8px;

}
.radioitem:hover,.radioitemActive{
  background-color: #0092ff;

}

.rightLeiming{
  margin: 25px 0;
}

.rightBack{
  align-items: center;
  cursor: pointer;
}
.flex{
  display: flex;
  align-items: center;
}
.searchBox{
  background-color: @plate-bg!important;
  border: 1px solid @border-line-color!important;
  padding: 12px;
  margin-bottom: 16px;
  :global {
    .ant-form-item{
      margin-bottom:0;
    }
  }
}



.dataBox{

  // min-width: 150px;
  background-color: rgb(19 39 102) !important;
  color: #ebaf04;
  height: 30px;
  line-height: 24px;
  text-align: left;
  padding: 0 5px;
  margin: 0 3px;
  border: 2px inset #1b3b8b;
  font-size: 18px;
  .unit{
    color: #ebaf04;
    font-size: 10px;
  }
}
.rightInfo{
  margin-left: 15px;
}
.totalR{
  span{
    margin-left:15px;
  }
}
:global {
  .ant-card-body {
    padding: 12px 16px 8px;
  }
  .ant-radio-button-wrapper:not(:first-child)::before{
    width:0
  }

.ant-card{
  font-size: 12px;
  background-color: @plate-bg!important;
  border: 1px solid @border-line-color!important;
  color: white;
  p{
    margin-bottom: 3px;
  }
}

.ant-pagination-item,.ant-pagination-prev .ant-pagination-item-link, .ant-pagination-next .ant-pagination-item-link{
  background-color: transparent;
  border: 0;
}
.ant-pagination-item-active{
  border:1px solid #fff;
}
}
.moxingBox{
  border: 1px solid #1890ff;
  border-radius: 5px;
  padding: 12px;
  justify-content: center;
  margin: 20px 0;

}
.deviceBox{
 width: 20%;
//  padding: 5px 8px 5px 0;
 :global {
  .ant-badge-status-dot{
      width: 10px;
      height: 10px
    }
  }
 .title1{
  font-size: 16px;
  color: #00c3ef;
}
 
}
.deviceImgBox{
  position: relative;
  width: 65px;
  height: 65px;
  :global {
    .ant-image:nth-child(2){
      width: 15px;
      height: 15px;
      position: absolute;
      right: 4px;
      bottom: 5px;
    }
  }
 
}
@media (max-width: 576px) {
  /*0~320*/
  .deviceBox{
    width: 100%;
   }


}

@media (min-width: 576px) and (max-width: 992px) {
  /*769~+∞*/
  .deviceBox{
    width: 50%;
   }
}
@media (min-width: 992px) and (max-width: 1345px) {
  /*769~+∞*/
  .deviceBox{
    width: 33%;
   }
}
@media (min-width: 1345px) and (max-width: 1600px) {
  /*769~+∞*/
  .deviceBox{
    width: 25%;
   }
}
.empty{
  width: 100%;
  height: 500px;
  padding-top: 200px;
}
}